<template> 
    <div>  
    </div> 
  </template>
  <script> 
    export default { 
        props: ['msg'],
        data(){
            return { 
                param: 100,
            }
        },

        methods: {
            add(){
                alert('成功调用子组件的方法')
            }
        }, 
 
    }
  </script>
 
  